Skip to main content

ModifyLoginBaseConfig

Description

invoke basic configuration information ModifyLoginBaseConfig modifying login security settings in a single asset details page.

Request Method

POST

Request Path

/apsara/route/Sas/ModifyLoginBaseConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TargetBODYstringYesi-ecs-ssssasss-xxxxthe uuid of the server that needs to modify the login configuration.
TypeBODYstringYeslogin_common_timeset the common login configuration types that need to be modified. Value: login_common_ip: common login IP login_common_time: common login time login_common_account: common login account
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringYes{"startTime":"00:00","endTime":"02:00"}detailed configuration of login security settings on the asset details page.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring6BD40006-2A29-4769-8AB5-BC0F0E25C273the unique identifier generated by alibaba cloud for this request.

Example

Successful Response example

{
"RequestId":"6BD40006-2A29-4769-8AB5-BC0F0E25C273"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}